package commands.nc;

public class NCSegment extends NetworkControllerCommand
{
	private byte[]		data;
	private long 		size;
	private String 		hash;
	private int 		part_number;

	public NCSegment(long size, String hash, int part_number, byte[] data)
	{
		super(NetworkControllerCommandType.SEGMENT);
		this.size = size;
		this.hash = hash;
		this.part_number = part_number;
		this.data = data;
	}

	
	public long getSize()
	{
		return size;
	}

	public String getHash()
	{
		return hash;
	}

	 public int getPart_number()
	{
		return part_number;
	}

	public byte[] getData()
	{
		return data;
	}
}
